Initial configs for adding django BE to cluster#97
Initial configs for adding django BE to cluster#97ohaiwalt merged 1 commit intoOperationCode:masterfrom AllenAnthes:AllenAnthes/add-new-be
Conversation
| - name: DB_HOST | ||
| value: # TODO | ||
| - name: ENVIRONMENT | ||
| value: aws_prod No newline at end of file |
There was a problem hiding this comment.
what's the significance of this aws_prod vs prod?
There was a problem hiding this comment.
It's a hacky way to tell django to use the aws_s3 bucket to serve static assets, while still allowing me to run the production config locally sans remote static files
| http: | ||
| paths: | ||
| - backend: | ||
| serviceName: operationcode-backend-service |
There was a problem hiding this comment.
this should be back-end-service if you want to receive traffic. However, we'll likely want to hold off on that or put this up on an alternate URL for testing until it works
| spec: | ||
| containers: | ||
| - name: app | ||
| image: operationcode/back-end:latest |
There was a problem hiding this comment.
Do you currently have a dockerhub repo setup for this?
There was a problem hiding this comment.
https://cloud.docker.com/repository/registry-1.docker.io/operationcode/back-end
You do now. Need to get credentials in circle ci to handle it.
| - name: app | ||
| env: | ||
| - name: DB_HOST | ||
| value: # TODO |
There was a problem hiding this comment.
do we want to use terraform for provisioning this or do you need help setting it up?
There was a problem hiding this comment.
That's TODO because we need to wait until the last minute to snapshot the current prod before going live
| - name: DB_HOST | ||
| value: # TODO | ||
| - name: ENVIRONMENT | ||
| value: aws_prod No newline at end of file |
There was a problem hiding this comment.
Why is this aws_prod and not just production?
There was a problem hiding this comment.
Copied from above
It's a hacky way to tell django to use the aws_s3 bucket to serve static assets, while still allowing me to run the production config locally sans remote static files
| http: | ||
| paths: | ||
| - backend: | ||
| serviceName: operationcode-backend-service |
There was a problem hiding this comment.
Won't this need to match the new service name?
No description provided.